package cn.newtouch.pet.domain;

import cn.newtouch.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PetType extends BaseDomain {

    private String name;
    private String description;
    private String dirPath;

    private Long pid;

    //宠物类型树
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<PetType> children=new ArrayList<>();
}
